﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PhysicsProject.Enum;
using PhysicsProject.Models;

namespace PhysicsProject.ViewModels
{
    public class BoxViewModel : ViewModelBase
    {
        private readonly Box _boxModel;

        public BoxViewModel(Box box)
        {
            _boxModel = box;
        }

        public Material MaterialType
        {
            get { return _boxModel.MaterialType; }
            set
            {
                _boxModel.MaterialType = value;
                OnPropertyChanged();
            }
        }
    }
}
